// 收货地址
import request from "@/utils/request"

// 获取收货地址
export const getAddressAPI = () => {
  return request({
    url: '/member/address'
  })
}

// 新增收货地址
export const addAddressAPI = (data) => {
  return request({
    url: '/member/address',
    method: 'POST',
    data
  })
}